]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
extensionSystem: Clean up
authorJasper St. Pierre <jstpierre@mecheye.net>
Thu, 24 May 2012 16:23:37 +0000 (12:23 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Fri, 25 May 2012 22:25:51 +0000 (18:25 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=676837

js/ui/extensionSystem.js

index 2f2b423e984766cad736f50cbc77a1499d981ce2..9435092cfad919a778d28ab3a19c44d57abeca79 100644 (file)
@@ -36,12 +36,9 @@ const REPOSITORY_URL_INFO =     REPOSITORY_URL_BASE + '/extension-info/';
 
 const _httpSession = new Soup.SessionAsync({ ssl_use_system_ca_file: true });
 
-// The unfortunate state of gjs, gobject-introspection and libsoup
-// means that I have to do a hack to add a feature.
 // See: https://bugzilla.gnome.org/show_bug.cgi?id=655189 for context.
-
-if (Soup.Session.prototype.add_feature != null)
-    Soup.Session.prototype.add_feature.call(_httpSession, new Soup.ProxyResolverDefault());
+// _httpSession.add_feature(new Soup.ProxyResolverDefault());
+Soup.Session.prototype.add_feature.call(_httpSession, new Soup.ProxyResolverDefault());
 
 // Arrays of uuids
 var enabledExtensions;